<?php
class model_flushout
{
	public function flash_start()
	{
		ob_end_clean(); //清除输出缓存并且关闭缓存
		echo str_pad('---------start----------<br>',1024*1);//输出大于4k字节
	}
	public function flash_end()
	{
		echo '<br>---------end----------';
	}
	public function flash_out($str)
	{
//		echo '<pre>';
		echo str_pad(' ',1024*1);
		print_r($str);
		flush();
		ob_flush();
	}
}